﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace B.MES.Customer.Domain
{
    /// <summary>
    /// 生产表 
    /// </summary>
    [SugarTable("Produce")]
    public class Produce
    {
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "生产ID")]
        public int ProId { get; set; }

        [SugarColumn(ColumnDescription = "生产单号", Length = 255)]
        public string? ProCode { get; set; }

        [SugarColumn(ColumnDescription = "单据日期")]
        public DateTime ProDate { get; set; }

        [SugarColumn(ColumnDescription = "负责人", Length = 255)]
        public string ?ProPeo { get; set; }

        [SugarColumn(ColumnDescription = "联系电话", Length = 11)]
        public string ?ProPhone { get; set; }

        [SugarColumn(ColumnDescription = "生产人员", Length = 255)]
        public string ?ProPeople { get; set; }

        [SugarColumn(ColumnDescription = "备注", Length = 255)]
        public string ?ProDesc { get; set; }

        [SugarColumn(ColumnDescription = "生产日期")]
        public DateTime ProDateInfo { get; set; }
        [SugarColumn(ColumnDescription = "生产状态")]
        public ProStatus? ProStatus { get; set; } 
    }
}
